﻿// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'

Shader "MyShader/02 secondshader run"{
	SubShader{
		Pass{
			CGPROGRAM
			
			#pragma vertex vert			//顶点函数
			float4 vert(float4 v : POSITION) :SV_POSITION {
				return UnityObjectToClipPos(v);
			}

			#pragma fragment frag		//片元函数
			fixed4 frag() :SV_Target{
				return fixed4(0.5,0.5,1,1);
			}

			ENDCG
		}
	}
	Fallback "VertexLit"
}